# -*- coding: utf-8 -*-
# standard
import os
import sys

# third

# local
_P_PATH =  os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
if _P_PATH not in sys.path:
    sys.path.append(_P_PATH)


"""
@Title:   在gpu上寻找指定的文件, 可以指定是否覆盖之
@File: 在gpu上寻找指定的文件.py
@Author: walle 2024年01日15日 17时40分43秒
@Version: 1.0.0
@Desc: 
scp spider@172.26.190.232:/mnt/projects/LRS3/2024011517/*.mp4 /mnt/projects/download-youtube-clip/need_compare_videos/
"""


def get_locale_videos():
    files = {}
    dir_path = os.path.join(_P_PATH, "need_compare_videos")
    for file_name in os.listdir(dir_path):
        file_path = os.path.join(dir_path, file_name)
        files[file_name] = {"local_path": file_path, "size": os.path.getsize(file_path)}
    return files


def main():
    dest_dir = "/mnt/aiface/data/Wav2Lip/raw/LRS3_raw/"  # 注意这个而目录是2层的



if __name__ == '__main__':
    main()
    pass